[Helm] Add ServiceMonitor to the helm chart#767
Conversation
| workflow_dispatch: | ||
| push: | ||
| branches: [main] | ||
| paths-ignore: |
There was a problem hiding this comment.
Given that we now depend on the most recent gitsha from the pull request (PR) to include a container image, we should not hinder the continuous integration (CI) process from generating an image in cases where only a documentation change is made.
There was a problem hiding this comment.
Can you leave an inline comment. Maybe something like OPTIMIZE: We generate new images even on non src code changes, but this cost is okay for now
|
|
||
|
|
||
| # Run e2e tests on devnet IF the PR has a label "e2e-devnet-test" | ||
| e2e-tests: |
There was a problem hiding this comment.
I missed a clarification in the Github Actions documentation that old implementation would only work on the default branch, so having a separate workflow did not work. Going to have a larger main workflow instead.
|
In addition to the changes related to this PR, I had to adjust a GitHub Action as they didn't work as expected. |
Olshansk
left a comment
There was a problem hiding this comment.
One minor need but otherwise LGTM
| workflow_dispatch: | ||
| push: | ||
| branches: [main] | ||
| paths-ignore: |
There was a problem hiding this comment.
Can you leave an inline comment. Maybe something like OPTIMIZE: We generate new images even on non src code changes, but this cost is okay for now
| @@ -170,6 +170,8 @@ service: | |||
| annotations: {} | |||
Co-authored-by: Daniel Olshansky <olshansky@pokt.network>
## Description Adds `ServiceMonitor` to the helm chart, so our software can be monitored by different monitoring stacks that support this CRD, which is just about an industry standard now. We are going to use it in our infrastructure as well. Also, included changes to run e2e tests within one, `main` GitHub action workflow because the other option wasn't working on non-default branches. ## Type of change Please mark the relevant option(s): - [x] New feature, functionality or library ## List of changes - Add a new 'ServiceMonitor' object to the helm chart, which will be disabled by default because not everyone has this CRD installed on their cluster. - Adjusted e2e test workflow so it kicks off on pull requests. ## Testing - [ ] `make develop_test`; if any code changes were made - [ ] `make test_e2e` on [k8s LocalNet](https://github.com/pokt-network/pocket/blob/main/build/localnet/README.md); if any code changes were made - [x] `e2e-devnet-test` passes tests on [DevNet](https://pocketnetwork.notion.site/How-to-DevNet-ff1598f27efe44c09f34e2aa0051f0dd); if any code was changed - [ ] [Docker Compose LocalNet](https://github.com/pokt-network/pocket/blob/main/docs/development/README.md); if any major functionality was changed or introduced - [x] [k8s LocalNet](https://github.com/pokt-network/pocket/blob/main/build/localnet/README.md); if any infrastructure or configuration changes were made ## Required Checklist - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added, or updated, [`godoc` format comments](https://go.dev/blog/godoc) on touched members (see: [tip.golang.org/doc/comment](https://tip.golang.org/doc/comment)) - [ ] I have tested my changes using the available tooling - [ ] I have updated the corresponding CHANGELOG ### If Applicable Checklist - [ ] I have updated the corresponding README(s); local and/or global - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have added, or updated, [mermaid.js](https://mermaid-js.github.io) diagrams in the corresponding README(s) - [ ] I have added, or updated, documentation and [mermaid.js](https://mermaid-js.github.io) diagrams in `shared/docs/*` if I updated `shared/*`README(s) --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Daniel Olshansky <olshansky@pokt.network>
* refactor/message-handling: Update client to p1 in makefile change gitsha of private-keys.yaml (#787) Fix places where we request a password and don't check the nonInterac… (#788) [Testing] [Tooling] chore: replace `gocuke` & `go-mockdns` in go.mod (#782) [k8s] Rename `client` to `p1` in k8s localnet (#764) [Persistence] Refactors BlockStore Interface (#774) [BUG] Int casting issue when sending tx (#783) fix: add missing space to makefile add public keys to private-keys.yaml (#779) chore: update changelog chore: comment improvements fix: logger levels chore: improve func & var names' [Helm] Add ServiceMonitor to the helm chart (#767) Update PULL_REQUEST_TEMPLATE.md (#772) [CI/Infra] E2E tests on Argo Workflows (#737)
## Description Adds `ServiceMonitor` to the helm chart, so our software can be monitored by different monitoring stacks that support this CRD, which is just about an industry standard now. We are going to use it in our infrastructure as well. Also, included changes to run e2e tests within one, `main` GitHub action workflow because the other option wasn't working on non-default branches. ## Type of change Please mark the relevant option(s): - [x] New feature, functionality or library ## List of changes - Add a new 'ServiceMonitor' object to the helm chart, which will be disabled by default because not everyone has this CRD installed on their cluster. - Adjusted e2e test workflow so it kicks off on pull requests. ## Testing - [ ] `make develop_test`; if any code changes were made - [ ] `make test_e2e` on [k8s LocalNet](https://github.com/pokt-network/pocket/blob/main/build/localnet/README.md); if any code changes were made - [x] `e2e-devnet-test` passes tests on [DevNet](https://pocketnetwork.notion.site/How-to-DevNet-ff1598f27efe44c09f34e2aa0051f0dd); if any code was changed - [ ] [Docker Compose LocalNet](https://github.com/pokt-network/pocket/blob/main/docs/development/README.md); if any major functionality was changed or introduced - [x] [k8s LocalNet](https://github.com/pokt-network/pocket/blob/main/build/localnet/README.md); if any infrastructure or configuration changes were made ## Required Checklist - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added, or updated, [`godoc` format comments](https://go.dev/blog/godoc) on touched members (see: [tip.golang.org/doc/comment](https://tip.golang.org/doc/comment)) - [ ] I have tested my changes using the available tooling - [ ] I have updated the corresponding CHANGELOG ### If Applicable Checklist - [ ] I have updated the corresponding README(s); local and/or global - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have added, or updated, [mermaid.js](https://mermaid-js.github.io) diagrams in the corresponding README(s) - [ ] I have added, or updated, documentation and [mermaid.js](https://mermaid-js.github.io) diagrams in `shared/docs/*` if I updated `shared/*`README(s) --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Daniel Olshansky <olshansky@pokt.network>

Description
Adds
ServiceMonitorto the helm chart, so our software can be monitored by different monitoring stacks that support this CRD, which is just about an industry standard now.We are going to use it in our infrastructure as well.
Also, included changes to run e2e tests within one,
mainGitHub action workflow because the other option wasn't working on non-default branches.Type of change
Please mark the relevant option(s):
List of changes
Testing
make develop_test; if any code changes were mademake test_e2eon k8s LocalNet; if any code changes were madee2e-devnet-testpasses tests on DevNet; if any code was changedRequired Checklist
godocformat comments on touched members (see: tip.golang.org/doc/comment)If Applicable Checklist
shared/docs/*if I updatedshared/*README(s)